<?php
define("BASE_URL",'http://localhost/bongdavl/');
define("BASE_PATH", realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..'));
define("HOME","http://localhost/bongdavl/");
define("ADMIN","http://localhost/bongdavl/administrators/");
define("IMAGE","http://localhost/bongdavl/upload/");

define("HEAD","Bóng Đá Vui lắm - Hình ảnh, video clip bóng đá vui nhộn, tin tức bóng đá | Bongdavl.vn");
define("KEYWORD","Hình ảnh, video clip bóng đá vui nhộn, tin tức bóng đá, bongdavl, bong da vui lam,bóng đá vui lắm, bongdavl.vn");
define("DES","Bóng Đá Vui lắm - Hình ảnh, video clip bóng đá vui nhộn, tin tức bóng đá | Bongdavl.vn");

/* define("DB","bongdavl_db");
define("DBHOST",'localhost');
define("DBUSER",'bongdavl_admin');
define("DBPASS",'conlongthan'); */

define("DB","bongdavl");
define("DBHOST",'localhost');
define("DBUSER",'root');
define("DBPASS",'');

define("FB_ID",'654197201258828');
define('LOAD_TIME', 5);

define('LOAD_ITEMS', 6);

define('IMAGE_ORIGINAL', 'original');
define('IMAGE_NEAR_BIG', '400');
define('IMAGE_BIG', '500');
define('IMAGE_MED', '250');
define('IMAGE_SMALL', '90x60');
define('IMAGE_URL','http://sv1.bongdavl.vn/bdvl/images/');
define('IMAGE_PICTURE','image/');
define('IMAGE_TEXT','text/');
define('AVATAR_DEFAULT','http://sv1.bongdavl.vn/uploaded/avatar.png');
define("AVATAR",'http://sv1.bongdavl.vn/bdvl/images/avatar/');
define('R_IMAGE_URL', 'http://sv1.bongdavl.vn/bdvl/images/');

define("USER_ACTIVE",'1');
define('CACHE_PATH', $_SERVER['DOCUMENT_ROOT'].'/cache');
define('HOIDAP', 'http://localhost/bongdavl/hoi-dap/');
define('HOIDAP_UP', 'http://localhost/bongdavl/hoi-dap/upload/');
define('UPLOAD', 'http://localhost/bongdavl/user/upload');

define('LOGIN', 'http://localhost/bongdavl/index.php?module=user&act=login');
define('LOGINFACEBOOK', 'http://localhost/bongdavl/index.php?module=user&act=login_facebook');
define('LOGOUTFACEBOOK', 'http://localhost/bongdavl/index.php?module=user&act=facebooklogout');
define('FACEBOOK_ACCOUNT', 'http://localhost/bongdavl/index.php?module=user&act=facebook_account');
define('REGISTER', 'http://localhost/bongdavl/index.php?module=user&act=register');
define('USER_INFO', 'http://localhost/bongdavl/user/thongtin');
define('USER_CHANGEPASSWORD', 'http://localhost/bongdavl/user/changepassword');
define('USER_UPDATE_INFO', 'http://localhost/bongdavl/user/capnhatthongtin');
define('USER_FORGETPASSWORD', 'http://localhost/bongdavl/index.php?module=user&act=forgetpassword');
define('LOGOUT', 'http://localhost/bongdavl/index.php?module=user&act=logout');
define('LOGOUT2', 'http://localhost/bongdavl/index.php?module=user&act=logout2');

define('IMAGE_DEFAULT_ALBUM', 'http://img.youtube.com/vi/zoKj7TdJk98/0.jpg');

if($_SESSION['mobile']==0){
	//PC
define('M_WIDTH',250);
}
if($_SESSION['mobile']==1){
	//Mobile 
define('M_WIDTH',150);
}
if($_SESSION['mobile']==2){
	//Tablet
define('M_WIDTH',200);
}